package com.inossem.warehousestorage_inossem.bean.inventory.chuangyou;

import com.inossem.warehousestorage_inossem.bean.common.BeanNew;

import java.io.Serializable;
import java.util.List;

/**
 * TODO
 *
 * @author 詹建宇
 * @time on 2018/3/30 17:32
 * @email jianyu.zhan@inossem.com
 */
public class InventoryPositionsBean extends BeanNew implements Serializable{

    /**
     * body : {"position_list":[{"position_id":"1","position_code":"01-10001","mat_count":"5","min_stocktake_qty":"-1","max_stocktake_qty":"10.00"},{"position_id":"2","position_code":"01-10002","mat_count":"1","min_stocktake_qty":"-1","max_stocktake_qty":"-1"},{"position_id":"3","position_code":"01-10003","mat_count":"2","min_stocktake_qty":"0","max_stocktake_qty":"5.00"}]}
     */

    private PositionBodyBean body;

    public PositionBodyBean getBody() {
        return body;
    }

    public void setBody(PositionBodyBean body) {
        this.body = body;
    }

    public static class PositionBodyBean {
        private List<PositionListBean> position_list;

        public List<PositionListBean> getPosition_list() {
            return position_list;
        }

        public void setPosition_list(List<PositionListBean> position_list) {
            this.position_list = position_list;
        }

        public static class PositionListBean implements Serializable{
            /**
             * position_id : 1
             * position_code : 01-10001
             * mat_count : 5
             * stocktake_count : -1
             */

            private String position_id;
            private String position_code;
            private String mat_count;//物料数量
            private String stocktake_count;//已盘点数量

            public String getPosition_id() {
                return position_id;
            }

            public void setPosition_id(String position_id) {
                this.position_id = position_id;
            }

            public String getPosition_code() {
                return position_code;
            }

            public void setPosition_code(String position_code) {
                this.position_code = position_code;
            }

            public String getMat_count() {
                return mat_count;
            }

            public void setMat_count(String mat_count) {
                this.mat_count = mat_count;
            }

            public String getStocktake_count() {
                return stocktake_count;
            }

            public void setStocktake_count(String stocktake_count) {
                this.stocktake_count = stocktake_count;
            }
        }
    }
}
